<?php
/**
 * 返回状态码的管理
 * @author 罗文鸿
 * @date 2024/5/27
 */
$statusCodes = [

    "成功处理请求" => ['code' => 200,'message' => '请求成功'],
    '资源未找到' => ['code' => 404, 'message' => '请求的资源不存在'],
    "内部服务器错误" => ['code' => 500, 'message' => '服务器遇到了意外情况'],
    "参数校验失败" => ['code' => 400, 'message' => '操作失败,请检查数据是否正确填写']

];

